#ifndef _DevicesRTC_H_
#define _DevicesRTC_H_


void vRtcInit(void);

/* 时间戳数据读、写 */
void vRtcTimestampSet(uint32_t uiTimestamp);
uint32_t uiRtcTimestampGet(void);
void vRtcAlarmSet(uint32_t uiTimestamp);

/* BKP区域数据读、写 */
int8_t cRtcBkpDataWrite(int8_t cChannel, uint16_t usValue);
uint16_t usRtcBkpDataRead(int8_t cChannel);

/* 时区数据读、写 */
void vRtcUTCSet(int8_t cUTC);
int8_t cRtcUTCGet(void);


#endif
